﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GatewayTests.Models;
using GatewayTests.Utils;

namespace GatewayTests.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Gateway Tests.";

            return View();
        }

        public ActionResult RelativeTest()
        {
            ViewBag.Message = "Relative CSS Test.";

            return View();
        }

        public ActionResult UrlTests()
        {
            ViewBag.Message = "URL Testing";

            UrlTests tests = UrlTestsLoader.LoadTests();

            return View(tests);
        }
    }
}